﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Things.OrderPlan
{
    public class Goods
    {
        public Goods()
        { }
        #region Model
        private Guid _goodsid;
        private Guid _productid;
        private string _description;
        private string _shelflife;
        private string _type;
        private double _price;
        private string _cropsname;
        private string _cropsaddress;
        private int _count;
        private bool _isdeleted = false;
        private string _goodsname;
        private string _goodsbrand;
        private string _goodsweight;
        private string _goodspackage;
        private Guid _goodscategoryid;
        private byte[] _goodsimage;
        private string _goodsimageurl;
        /// <summary>
        /// 
        /// </summary>
        public Guid GoodsID
        {
            set { _goodsid = value; }
            get { return _goodsid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ProductID
        {
            set { _productid = value; }
            get { return _productid; }
        }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 保质期
        /// </summary>
        public string ShelfLife
        {
            set { _shelflife = value; }
            get { return _shelflife; }
        }
        /// <summary>
        /// 规格
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 价格
        /// </summary>
        public double Price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// 农产品名称
        /// </summary>
        public string CropsName
        {
            set { _cropsname = value; }
            get { return _cropsname; }
        }
        /// <summary>
        /// 产地
        /// </summary>
        public string CropsAddress
        {
            set { _cropsaddress = value; }
            get { return _cropsaddress; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public int Count
        {
            set { _count = value; }
            get { return _count; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsDeleted
        {
            set { _isdeleted = value; }
            get { return _isdeleted; }
        }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName
        {
            set { _goodsname = value; }
            get { return _goodsname; }
        }
        /// <summary>
        /// 商品品牌
        /// </summary>
        public string GoodsBrand
        {
            set { _goodsbrand = value; }
            get { return _goodsbrand; }
        }
        /// <summary>
        /// 商品重量
        /// </summary>
        public string GoodsWeight
        {
            set { _goodsweight = value; }
            get { return _goodsweight; }
        }
        /// <summary>
        /// 商品包装
        /// </summary>
        public string GoodsPackage
        {
            set { _goodspackage = value; }
            get { return _goodspackage; }
        }
        /// <summary>
        /// 商品分类
        /// </summary>
        public Guid GoodsCategoryID
        {
            set { _goodscategoryid = value; }
            get { return _goodscategoryid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public byte[] GoodsImage
        {
            set { _goodsimage = value; }
            get { return _goodsimage; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string GoodsImageURL
        {
            set { _goodsimageurl = value; }
            get { return _goodsimageurl; }
        }
        #endregion Model

    }
}
